# -*- coding: utf-8 -*-
"""
__title__ = ''
__author__ = 'Yang'
__mtime__ = '2019/2/20 20:56'
# code is far away from bugs with the god animal protecting
    I love animals. They taste delicious.
              ┏┓      ┏┓
            ┏┛┻━━━┛┻┓
            ┃      ☃      ┃
            ┃  ┳┛  ┗┳  ┃
            ┃      ┻      ┃
            ┗━┓      ┏━┛
                ┃      ┗━━━┓
                ┃  神兽保佑    ┣┓
                ┃　永无BUG！   ┏┛
                ┗┓┓┏━┳┓┏┛
                  ┃┫┫  ┃┫┫
                  ┗┻┛  ┗┻┛
"""

import json
import re

"""
['\n\t\t\t\t\t\t\t\t\t<a href="https://bengbu.anjuke.com/community/view/766093" target="_blank" _soj=propview>绿地世纪城</a>\n\t\t\t\t\t\t\t\t\t\t\t\t',
 '\n\t\t\t\t3室\n\t\t\t\t2厅\n\t\t\t\t1卫\n\t\t\t',
  '7056 元/m²', 
  '\n\t\t\t\t\n\t\t\t\t\t<p class="loc-text"><a href="https://bengbu.anjuke.com/sale/bangshanb/" target="_blank" _soj=propview>蚌山</a>－\n\t\t\t\t\t\t<a href="https://bengbu.anjuke.com/sale/huaihelub/" target="_blank" _soj=propview>淮河路</a>－\n\t\t\t\t\t\t燕山路,近中粮大道</p>\n\t\t\t\t\t\t\t\t\t\t\t<i class="iconfont i-location">&#xE003;</i>\n\t\t\t\t\t\t\t\t\t\t\t\t',
   '106平方米',
    '\n\t\t\t\t22.44万                            ',
     '\n\t\t\t\t2013年\t\t\t', 
     '南',
      '\n\t\t\t\t<span id="reference_monthpay"></span>\t\t\t', 
      '普通住宅', '低层(共27层)', '精装修', '满五年', '否']

"""
print(re.findall('<a href=".*?" target="_blank" _soj=propview>(.*?)</a>',
                 '\n\t\t\t\t\t\t\t\t\t<a href="https://bengbu.anjuke.com/community/view/766093" target="_blank" _soj=propview>绿地世纪城</a>\n\t\t\t\t\t\t\t\t\t\t\t\t'))
print(re.findall('>([\s\S]*?)<',
                 '\n\t\t\t\t\n\t\t\t\t\t<p class="loc-text"><a href="https://bengbu.anjuke.com/sale/bangshanb/" target="_blank" _soj=propview>蚌山</a>－\n\t\t\t\t\t\t<a href="https://bengbu.anjuke.com/sale/huaihelub/" target="_blank" _soj=propview>淮河路</a>－\n\t\t\t\t\t\t燕山路,近中粮大道</p>\n\t\t\t\t\t\t\t\t\t\t\t<i class="iconfont i-location">&#xE003;</i>\n\t\t\t\t\t\t\t\t\t\t\t\t'))

s = '\n\t\t\t\t\n\t\t\t\t\t '
s = re.sub('\t|\n| ', '', s)
print(s)
